<?php
	$Id = $model->getNextID();
?>
<script type="text/javascript">
$(document).ready(function(){	
	// VALIDATOR	
	// validation config
	<?php require('library/js/validator/config.pelanggan.js');?>	
});

</script>
<div class="title">Data Pelanggan</div>
<form name="frm_<?=$subbagian;?>" id="frm_<?=$subbagian;?>" method="post" action="index.php?bagian=<?=$bagian;?>&subbagian=<?=$subbagian;?>&action=confirm">
    <ul>
    	<li class="header"><span>Pelanggan</span></li>
        <li><span>
            <label>ID:</label>
            <input type="text" id="Id" name="Id" value="<?=$Id;?>" readonly="readonly" class="disabled"/>
        </span></li>
		<li><span>
            <label>Nama:</label>
            <input type="text" id="nama" name="nama" value=""/>
        </span></li>
		<li><span>
            <label>Telp:</label>
            <input type="text" id="telp" name="telp" value=""/>
        </span></li>
		
	</ul>
	<ul>
		<li class="header"><span>Contact</span></li>
         <li><span>
            <label>Contact Person:</label>
            <input type="text" id="contact_person" name="contact_person" value=""/>
        </span></li>
           <li><span>
            <label>Handphone:</label>
            <input type="text" id="hp" name="hp" value=""/>
        </span></li>
    </ul>
	<ul>
		<li class="header"><span>Simpan</span></li>
		<li class="button"><span>
			<input type="submit" name="submit" id="submit" value="Simpan Data" class="simpan"/>
		</span></li>
	</ul>
</form>